
{% load static %}
{% load compress %}
{% load engine_tags %}

{% load recaptcha2 %}

<html>
<head>

    <title>
        {# Page Title #}
        {% block headtitle %}Title{% endblock %}

    </title>

    {# Extra header content #}
    {% block head %}

    {% endblock %}
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="icon" href="{% static 'recipes_favicon.ico' %}" type="image/x-icon"/>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
    {% recaptcha_init %}


    {% compress css %}
        <link href="{% static 'semantic.min.css' %}" rel="stylesheet">
        <link href="{% static 'engine.css' %}{% randparam %}" rel="stylesheet">

    {% endcompress %}

    {% compress js %}
        <script src="{% static 'semantic.min.js' %}">
        </script>
        <script src="{% static 'engine.js' %}{% randparam %}">
        </script>
    {% endcompress %}

    {% block js %}
    {% endblock %}

</head>
<body>




<div class="ui container">


    <div class="ui center aligned header">
        {% block title %}
            {% include "site_header.html" %}
        {% endblock %}
    </div>

    {% block menu %}

    {% menubar request=request %}

    {% endblock %}


    <div class="ui bottom attached segment">
        <div class="ui center aligned basic vertical segment">

        {% show_messages messages %}

    </div>


        {% block body %}
            {# Main body #}
            BODY

            {% block content %}

            {% endblock %}

        {% endblock %}


    </div>


    {% block footer %}
        <div class="ui vertical center aligned segment">
                <p class="muted">
                    <a href="https://github.com/biostars/biostar-recipes" class="ui image">
                    <img src="{% static 'images/badge-recipe.svg' %}"></a>
                </p>
            <p class="muted smaller">Software version: {{ VERSION }}</p>
        </div>
    {% endblock %}

</div>




</body>
</html>
